M[Symbol.asyncDispose]
Bun

method

quic.QuicEndpoint.[Symbol.asyncDispose]

[Symbol.asyncDispose](): Promise<void>;

Calls endpoint.close() and returns a promise that fulfills when the endpoint has closed.